using UnityEngine;
using System.Collections;

[System.Serializable]
public class InjuryInformation
{
	public int injury;
	public int breakDefense;
	public bool fall;
    public bool slash;
	public Vector3 push;
	public int receiverDelayFrames = -1;
	public int senderDelayFrames = -1;
    public int receiverPushFrames = -1;

	[HideInInspector] public Vector3 hitPoint;

    public static InjuryInformation Create(int injury,int receiverDelayFrames, int senderDelayFrames,Vector3 push,int receiverPushFrames)
	{
		InjuryInformation info = new InjuryInformation();
		info.injury = injury;
		info.push = push;
		info.receiverDelayFrames = receiverDelayFrames;
		info.senderDelayFrames = senderDelayFrames;
        info.receiverPushFrames = receiverPushFrames;
		return info;
	}
}
